@import "reset.css";
@import "../font/iconfont.css";
@import "../font_2/iconfont.css";
.clearfix::after{
    content: "";
    display: block;
    clear: both;
}
html,body{
    width: 7.5rem;
    margin: 0 auto;
}
/*顶部*/
#top1{
    width: 7.5rem;
    height: 0.7rem;
    background: #ff6043;
    display: flex;
    color: #ffdfd8;
    align-items: center;
    padding: 0.44rem 0 0 0;
    box-sizing: border-box;
    &>span{
        font-size: 0.5rem;
        margin-left: 0.2rem;
    }
    h2{
        margin: 0 1.1rem 0 2.4rem;
        font-size: 0.32rem;
    }
    p{
        display: flex;
        width: 1.76rem;
        height: 0.62rem;
        border: 1px solid #ff8a6f;
        border-radius: 0.3rem;
        margin-right: 0.11rem;
        align-items: center;
        justify-content: space-between;
        padding: 0 0.25rem;
        box-sizing: border-box;
        position: relative;
        span{
            width: 1px;
            height: 0.38rem;
            background: #ff896e;
            position: absolute;
            top: 0.1rem;
            left: 0.88rem;
        }
    }
}

/*头部*/
#header_box{
    height: 1.7rem;
    width: 7.5rem;
    background: linear-gradient(#ff6043,#ff8a7f);
    color: #fff;
    padding-left: 0.2rem;
    box-sizing: border-box;
    /*头部上*/
    .head_top{
        display: flex;
        padding: 0.25rem 0.2rem 0 0.26rem;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        img{
            height: 0.5rem;
        }
        input{
            width: 3.36;
            height: 0.6rem;
            border: 2px solid #e6e6e6;
            box-sizing: border-box;
            border-radius: 0.08rem;
            padding-left: 0.15rem;
            color: #aaaaaa;
        }
    }
    /*导航*/
    nav{
        height: 0.81rem;
        line-height: 0.81rem;
        padding: 0 0.25rem 0 0.21rem;
        position: relative;
        ul{
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.26rem;
            & li:nth-child(1){
                font-size: 0.3rem;
                font-weight: bold;
                span{
                    position: absolute;
                    width: 0.4rem;
                    height: 0.04rem;
                    background: #fff;
                    left: 0.3rem;
                    bottom: 0;
                    border-radius: 0.1rem;
                }
            }
        }
        
    }

}

/*banner*/
#banner_box{
    img{
        width: 100%;
    }
    
}

/*限时秒杀上*/
#box2{
    width: 7.5rem;
    height: 1.63rem;
    margin: 0 auto;
    background: #fff;
    ul{
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding-top: 0.20rem;

        li{
            
            img{
                height: 0.6rem;
                display: block;
                margin: 0 auto;
                margin-bottom: 0.13rem;
            }
            i{
                font-size: 0.25rem;
                color: #3e3e3e;
            }
            
        }
    }
}

/*限时秒杀下*/
#box3{
    width: 7.5rem;
    height: 3.5rem;
    margin-top: 0.2rem;
    padding-left: 0.2rem;
    box-sizing: border-box;
    h2{
        font-size: 0.3rem;
        font-weight: bold;
    }
    .left_box{
        width: 3.5rem;
        height: 3.5rem;
        float: left;
        margin-right: 0.1rem;
        background: url(../images/shop_bg11.png) no-repeat;
        background-size: 100% auto;
        padding-left: 0.2rem;
        padding-top: 0.22rem;
        box-sizing: border-box;
        h2{
            color: #85a645;
            float: left;
            margin-right: 0.77rem;
        }
        & a{
            font-size: 0.2rem;
            color: #40403f;
            float: right;
            height: 0.52rem;
            line-height: 0.52rem;
        }
        p{
            float: left;
            span{
                font-size: 0.18rem;
                color: #b4cd7f;
                margin-bottom: 0.1rem;
                margin-right: 0.95rem;
                float: left;
            }
            em{
                padding: 0.04rem 0.05rem;
                font-size: 0.2rem;
                font-weight: bold;
                color: #fff;
                background: linear-gradient(#89aa49,#b0cb7a);
                float: left;
                border-radius: 0.04rem;
            }
            i{
                color: #89aa49;
                font-weight: bolder;
                float: left;
            }
        }

        
        
    }
    .right_top{
        width: 3.5rem;
        height: 1.7rem;
        float: left;
        background: url(../images/shop_bg22.png) no-repeat;
        background-size: 100% auto;
        margin-bottom: 0.1rem;
        padding-left: 0.2rem;
        padding-top: 0.22rem;
        box-sizing: border-box;
        h2{
            color: #ff6043;
            margin-bottom: 0.15rem;
        }
        span{
            font-size: 0.2rem;
            color: #ff9b87;
            margin-bottom: 0.08rem;
        }
        img{
            display: block;
            height: 0.4rem;
            margin-top: 0.08rem;
        }
    }
    .right_bottom{
        width: 3.5rem;
        height: 1.7rem;
        float: left;
        background: url(../images/shop_bg33.png) no-repeat;
        background-size: 100% auto;
        padding-left: 0.2rem;
        padding-top: 0.22rem;
        box-sizing: border-box;
        h2{
            color: #af43ff;
            margin-bottom: 0.15rem;
        }
        span{
            color: #cf8cff;
        }
        img{
            display: block;
            height: 0.4rem;
            margin-top: 0.08rem;
        }
    }
}

#box4{
    width: 7.5rem;
    background: #ffffff;
    // margin-left: 0.2rem;
    padding: 0.24rem 0 0 0.2rem;
    box-sizing: border-box;
    margin-top: 0.24rem;
    .goods{
        margin-left: 0.2rem;
    }
    hgroup{
        margin-bottom: 0.1rem;
        h2{
            font-size: 0.28rem;
            color: #ff6043;
            font-weight: bold;
            margin-right: 2.07rem;
            margin-left: 0.7rem;
            display: inline-block;
        }
        h3{
            font-size: 0.26rem;
            color: #9f9f9f;
            display: inline-block;
        }
    }
    a{
        float: left;
        text-align: center;
        font-size: 0.26rem;
        color: #9f9f9f;
        margin-top: 0.2rem;
        img{
            width: 1.6rem;
            margin-right: 0.1rem;
            margin-bottom: 0.05rem;
        }
    }
    
}

/*底部*/
#footer_box{
    width: 7.5rem;
    height: 1rem;
    background: #ffffff;
    display: flex;
    padding: 0.12rem 0 0 0;
    border-top: 1px solid #cccccc;
    position: fixed;
    bottom: 0;
    justify-content: space-around;
    p{
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.18rem;
        color: #999999;
        &.cur{
            color: #ff6043;
            font-weight: bold;
        }
        span{
            font-weight: bold;
        }
        i{
            margin-top: 0.1rem;
        }
    }
}